package com.scott.configuration.student;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @author 黄后林
 * @date 2021-11-22 11:35:56
 * @Version 1.0
 */
@RestController
public class StudentController {


    /**
     * 方法描述:  http://localhost:8080/student
     * @author: 黄后林
     * @date: 2021/11/23 9:33
     * @param
     * @return java.util.Map<java.lang.String
     * @return java.lang.Object>
     */
    @RequestMapping("student")
    public Map<String, Object> hello(){
        Map<String,Object> rs = new HashMap<>();
        rs.put("code",200);
        rs.put("message","student");
        return rs;
    }
}
